package com.hxy.hxyhros.mapper;

import com.hxy.hxyhros.entity.Rwardsandpunishments;
import com.hxy.hxyhros.entity.RwardsandpunishmentsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RwardsandpunishmentsMapper {
    long countByExample(RwardsandpunishmentsExample example);

    int deleteByExample(RwardsandpunishmentsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Rwardsandpunishments row);

    int insertSelective(Rwardsandpunishments row);

    List<Rwardsandpunishments> selectByExample(RwardsandpunishmentsExample example);

    Rwardsandpunishments selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") Rwardsandpunishments row, @Param("example") RwardsandpunishmentsExample example);

    int updateByExample(@Param("row") Rwardsandpunishments row, @Param("example") RwardsandpunishmentsExample example);

    int updateByPrimaryKeySelective(Rwardsandpunishments row);

    int updateByPrimaryKey(Rwardsandpunishments row);
}